package com.loong.life;

import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @Description:
 * @Author: 刘群
 * @Date: 2020/11/26 15:49
 */
@EnableAsync(proxyTargetClass = true)
@EnableDiscoveryClient
@MapperScan(value = {"com.loong.life.mapper"})
@EnableFeignClients
@EnableRabbit
@SpringBootApplication(scanBasePackages = {"com.loong.common", "com.loong.life"})
public class LifeApplication {
    public static void main(String[] args) {
        SpringApplication.run(LifeApplication.class,args);
    }
}
